package oo.shootgame;

public class AirPlane extends Plane implements Emeny{
	public int getScore(){
		return 5;		
	}
	private int speed=3;
	public AirPlane(){
		life=0;
		image=ShootGame.airplane;
		width=image.getWidth()-10;
		height=image.getHeight()-10;
		x=(int)(Math.random()*(ShootGame.WIDTH-width));
		y=-height;
	}
	public void step(){
		y+=speed;
	}
	
	

}
